home *** CD-ROM | disk | FTP | other *** search
/ Power Tools for Macintosh / Power Tools for Macintosh (SoftBit)(1992).iso / Stacks / *N-R / RandomStudentGenerator / stack_-1.xml < prev    next >
Encoding:
Extensible Markup Language  |  1992-01-06  |  2.2 KB  |  26 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE stack PUBLIC "-//Apple, Inc.//DTD stack V 2.0//EN" "" >
  3. <stack>
  4.     <name>in</name>
  5.     <id>-1</id>
  6.     <cardCount>7</cardCount>
  7.     <cardID>2255</cardID>
  8.     <listID>4017</listID>
  9.     <cantModify><false /></cantModify>
  10.     <cantDelete><false /></cantDelete>
  11.     <cantAbort><false /></cantAbort>
  12.     <cardSize>
  13.         <width>512</width>
  14.         <height>342</height>
  15.     </cardSize>
  16.     <script>-------------------------------------------------------------------------
  17. -------------------------------------------------------------------------
  18. --‚Ä¢ Once you have entered your class list into the field on the far left
  19. --press the button "start temp list" to fill a field with students from
  20. --which the computer will draw names at random.
  21. -------------------------------------------------------------------------
  22. -------------------------------------------------------------------------
  23. -------------------------------------------------------------------------
  24. on generate
  25. global am
  26. put random of am into num
  27. get line num of card field "studentsTemp"
  28. put it into card field "Ran"
  29. delete line num of card field "studentsTemp"
  30. put empty into num
  31. subtract 1 from am
  32. end generate
  33. -------------------------------------------------------------------------
  34. -------------------------------------------------------------------------
  35. on list
  36. global am
  37. ask "How many students in this list?"
  38. put it into am
  39. select line 1 to am of card field "studentsPerm"
  40. domenu Copy Text
  41. drag from 156,44 to 157,44
  42. domenu Paste Text
  43. end list
  44.  
  45. on openStack
  46. repeat 5
  47. visual effect dissolve slow
  48. go next card
  49. end repeat
  50.  
  51. wait 100
  52. visual effect dissolve slow
  53. go next card
  54. end openStack
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61. </script>
  62.     <background id="2613" file="background_2613.xml" name="" />
  63.     <card id="2255" file="card_2255.xml" marked="false" name="" owner="2613" />
  64.     <card id="3768" file="card_3768.xml" marked="false" name="" owner="2613" />
  65.     <card id="5492" file="card_5492.xml" marked="false" name="" owner="2613" />
  66.     <card id="5901" file="card_5901.xml" marked="false" name="" owner="2613" />
  67.     <card id="6481" file="card_6481.xml" marked="false" name="" owner="2613" />
  68.     <card id="7139" file="card_7139.xml" marked="false" name="" owner="2613" />
  69.     <card id="3008" file="card_3008.xml" marked="false" name="" owner="2613" />
  70. </stack>
  71.